<template name="goodsBuy">
  <div class="list-block" style="margin:2px 0">
    <ul>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label" style="width:45% !important">总金额(￥)：</div>
            <div class="item-input">
              <input type="number" id="total_money" readonly="true" value="{{goods.sell_price}}" style="color:#ff0000;font-size:1.2rem;">
            </div>
          </div>
        </div>
      </li>
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label" style="width:45% !important">优惠码：</div>
            <div class="item-input">
              <input type="text" style="color:#ff0000;font-size:1.2rem;" id="class_code" value="{{class_code}}" placeholder="">
            </div>
          </div>
        </div>
      </li>
      <!-- <li>
        <div class="item-content" id="open-about">
          <div class="item-inner">
            <div class="item-title label s7-right-row-center" style="width:90% !important">
              <span class="s7-m-buy s7-color-pru">劵</span>
              选择可用优惠券
            </div>
          </div>
        </div>
      </li> -->
      <li>
        <div class="item-content">
          <div class="item-inner">
            <div class="item-title label">支付金额(￥)：</div>
            <div class="item-input">
              <input type="hidden" id="mname" value="{{goods.name}}">
              <input type="hidden" value="{{goods.id}}" id="goods_id">
              <input type="hidden" value="{{goods.merchant.site_id}}" id="site_id">
              <input type="hidden" value="{{goods.list_img.path}}" id="list_image">
              <input type="number" readonly="true" id="pay_money" style="color:#ff0000;font-size:1.2rem;" value="">
            </div>
          </div>
        </div>
      </li>
    </ul>
  </div>
  <div class="content-block">
    <p>
      <a href="#" class="button button-big button-fill pay-go" style="color:#fff !important;font-size: 1.2rem;">提交订单</a>
    </p>
  </div>
</template>
